﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoolERP_Entities
{
    /// <summary>
    /// 物料库存
    /// </summary>
    public class WLKCModel
    {
        public Guid ID { get; set; }
        public Guid WPID { get; set; }
        public string WPLX { get; set; }
        public string BH { get; set; }
        public string MC { get; set; }
        public string LXBH { get; set; }
        public string LXMC { get; set; }
        public string GG { get; set; }
        public string YS { get; set; }
        public double? ZDKCSL { get; set; }
        public double? ZGKCSL { get; set; }
        public Guid GYSID { get; set; }
        public string GYSMC { get; set; }
        public string GYSJC { get; set; }
        public double KCZL { get; set; }
        public double? ZXDJ { get; set; }
        public double? PJDJ { get; set; }
        public string DWBH { get; set; }
        public string DWMC { get; set; }
        public string JLDWMC { get; set; }
        public Guid CKID { get; set; }
        public string CKMC { get; set; }
        public Guid CWID { get; set; }
        public string CWMC { get; set; }
        public string QU { get; set; }
        public string HANG { get; set; }
        public string LIE { get; set; }
        public string CENG { get; set; }
        public string GE { get; set; }
        public double SL { get; set; }
    }
    /// <summary>
    /// 包装箱库存
    /// </summary>
    public class BZXKCModel
    {
        public Guid ID { get; set; }
        public Guid WPID { get; set; }
        public string WPLX { get; set; }
        public string BH { get; set; }
        public string MC { get; set; }
        public int? LX { get; set; }
        public double KCZL { get; set; }
        public double? WChang { get; set; }
        public double? WKuan { get; set; }
        public double? WGao { get; set; }
        public double? TJ { get; set; }
        public double? ZL { get; set; }
        public string BZFS { get; set; }
        public string BZ { get; set; }
        public string CPXBH { get; set; }
        public string CPHXCBH { get; set; }
        public Guid CKID { get; set; }
        public string CKMC { get; set; }
        public Guid CWID { get; set; }
        public string CWMC { get; set; }
        public string QU { get; set; }
        public string HANG { get; set; }
        public string LIE { get; set; }
        public string CENG { get; set; }
        public string GE { get; set; }
        public double SL { get; set; }
    }
    /// <summary>
    /// 库存明细
    /// </summary>
    public class KCMXModel
    {
        public Guid ID { get; set; }
        public Guid WPID { get; set; }
        public Guid CKID { get; set; }
        public string CKMC { get; set; }
        public Guid CWID { get; set; }
        public string QU { get; set; }
        public string HANG { get; set; }
        public string LIE { get; set; }
        public string CENG { get; set; }
        public string GE { get; set; }
        public double SL { get; set; }
        public double? PJDJ { get; set; }
        public double? ZXDJ { get; set; }
    }
    /// <summary>
    /// 销售合同明细
    /// </summary>
    public class XSHTMXBModel
    {
        public Guid ID { get; set; }
        public Guid? XSHTID { get; set; }
        public int? HTZT { get; set; }
        public string HTBH { get; set; }
        public string KHJC { get; set; }
        public DateTime? DHSJ { get; set; }
        public DateTime? CHSJ { get; set; }
        public double? SL { get; set; }
        public double? DJ { get; set; }
        public Guid? CPID { get; set; }
        public string CPBH { get; set; }
        public string CPMC { get; set; }
        public string CPGG { get; set; }
        public string CPYS { get; set; }
        public string CPLX { get; set; }
    }
    /// <summary>
    /// 销售订单明细
    /// </summary>
    public class XSDDMXBModel
    {
        public Guid ID { get; set; }
        public Guid XSHTID { get; set; }
        public double? SL { get; set; }
        public double? DJ { get; set; }
        public Guid? CPID { get; set; }
        public string CPBH { get; set; }
        public string CPMC { get; set; }
        public string CPGG { get; set; }
        public string CPYS { get; set; }
        public string CPLX { get; set; }
    }
    /// <summary>
    /// 进仓单明细
    /// </summary>
    public class JCCDMXBModel
    {
        public Guid ID { get; set; }
        public Guid JCCDID { get; set; }
        public Guid? WPID { get; set; }
        public string WPLX { get; set; }
        public string CKMC { get; set; }
        public Guid CKID { get; set; }
        public Guid CWID { get; set; }
        public string CWMC { get; set; }
        public double? SL { get; set; }
        public double? YKCSL { get; set; }
        public double? DJ { get; set; }
        public DateTime JCSJ { get; set; }
        public string DWBH { get; set; }
        public string DWMC { get; set; }
        public string BH { get; set; }
        public string MC { get; set; }
        public string GG { get; set; }
        public string YS { get; set; }
        public string YWLXBH { get; set; }
        #region=====包装箱属性=====
        public double? WChang { get; set; }
        public double? WKuan { get; set; }
        public double? WGao { get; set; }
        public double? TJ { get; set; }
        public double? ZL { get; set; }
        public string BZFS { get; set; }
        public string BZ { get; set; }
        #endregion
    }

    public class CGDModel
    {
        public string BH { get; set; }
        public Guid ID { get; set; }
        public Guid BMID { get; set; }
        public string BMMC { get; set; }
        public Guid RYID { get; set; }
        public string RYName { get; set; }
        public Guid GYSID { get; set; }
        public string GYSMC { get; set; }
        public string GYSJC { get; set; }
        public int ZT { get; set; }
        public DateTime RQ { get; set; }
        public DateTime CJSJ { get; set; }
        public DateTime? DHSJ { get; set; }
        public Guid? CZRYID { get; set; }
        public string CZRYName { get; set; }
    }

    public class CGDMXBModel
    {
        public Guid ID { get; set; }
        public Guid WPID { get; set; }
        public string WPLX { get; set; }
        public string BH { get; set; }
        public string MC { get; set; }
        public string GG { get; set; }
        public string YS { get; set; }
        public string DWBH { get; set; }
        public string DWMC { get; set; }
        public double? SL { get; set; }
        public double? DJ { get; set; }
        public Guid CGDID { get; set; }        
    }

    public class YSKZDModel
    {
        public Guid ID { get; set; }
        public string BH { get; set; }
        public Guid XSHTID { get; set; }
        public string XSHTBH { get; set; }
        public Guid? KHID { get; set; }
        public string KHMC { get; set; }
        public string KHJC { get; set; }
        public Guid CZRYID { get; set; }
        public string CZRYName { get; set; }
        public DateTime? CHSJ { get; set; }
        public DateTime? DHSJ { get; set; }
        public DateTime CJSJ { get; set; }
        public DateTime CKSJ { get; set; }
        public double YSZE { get; set; }
        public double? YISHOUZE{ get; set; }
        public int ZDZT { get; set; }
        public int FPLXBH { get; set; }
        public string FPLXMC { get; set; }
    }

    public class SKDModel
    {
        public Guid ID { get; set; }
        public string BH { get; set; }
        public Guid SRYHID { get; set; }
        public string SRYHMC { get; set; }
        public string ZPHM { get; set; }
        public DateTime DZRQ { get; set; }
        public double SSJE { get; set; }
        public Guid? JBRID { get; set; }
        public string JBRName { get; set; }
    }

    //收款单全额分配表模型
    public class CW_SKD_FPBModel
    {
        public Guid ID { get; set; }
        public Guid YSKZDID { get; set; }
        public string YSKZDBH { get; set; }
        public Guid SKDID { get; set; }
        public string SKDBH { get; set; }
        public Guid SRYHID { get; set; }
        public string SRYHMC { get; set; }
        public string ZPHM { get; set; }
        public DateTime DZRQ { get; set; }
        public double FPJE { get; set; }
        public Guid? JBRID { get; set; }
        public string JBRName { get; set; }
    }

    //应付款帐单模型
    public class YFKZDModel
    {
        public Guid ID { get; set; }
        public string BH { get; set; }
        public Guid CGDID { get; set; }
        public string CGDBH { get; set; }
        public Guid GYSID { get; set; }
        public string GYSMC { get; set; }
        public string GYSJC { get; set; }
        public Guid CZRYID { get; set; }
        public string CZRYName { get; set; }
        public DateTime CJSJ { get; set; }
        public DateTime DZSJ { get; set; }
        public DateTime? JQSJ { get; set; }
        public double YFZE { get; set; }
        public double YIFUZE { get; set; }
        public int ZDZT { get; set; }
        public string JSFSBH { get; set; }
        public string JSFSMC { get; set; }
    }
}
